<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2021/9/26
  Time: 16:17
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" isELIgnored="false" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<html>
<head>
    <title>Title</title>
    <style>
        #login{
            text-align: center;
        }
    </style>
</head>
<body>
<div class="main-content-right">
    <!--即时新闻-->
    <div class="main-text-box">
        <div class="main-text-box-tbg">
            <div class="main-text-box-bbg">
                <div class="article-box">
                    <h1>欢迎登录</h1>
                    <div id="login">
                        <c:if test="${requestScope.error !=null}"> ${requestScope.error}</c:if>

                    <form action="user?type=1" method="post">
                        <p>用户名：<input type="text" name="username"/></p>
                        <p>密码：&nbsp;&nbsp;&nbsp;<input type="password" name="password"/></p>
                        <p><input type="submit" value="登录"/><input type="reset" value="取消"/></p>
                    </form>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
</body>
</html>
